<?php

if ( ! defined("IN_OP") )
{
    exit("You can't access this file directly...");
}
if ( check_upid_mode($curruser['id']) == 0 )
{
    exit("You can't access this file directly...");
}
if ( ! isset($idxGametype) )
{
    header("Location: op.php");
    exit();
}
if ( $idxGametype == 0 )
{
    header("Location: op.php");
    exit();
}
$ui = new UI_3D(false , G_SITENAME);
$tpl = new Template2();
$tpl->set("default_3d_top_src" , "op.php?op=subsidary&fp=title_3d&gametype={$idxGametype}");
$tpl->set("default_3d" , "op.php?op=subsidary&fp=login_3d&gametype={$idxGametype}");
$tpl->load("main" , "index_3d.htm");
$ui->header();
$tpl->show("main");
$ui->footer();